Lucene search

K

Stb Image.h Security Vulnerabilities

cve
cve

CVE-2023-43281

Double Free vulnerability in Nothings Stb Image.h v.2.28 allows a remote attacker to cause a denial of service via a crafted file to the stbi_load_gif_main...

6.5CVSS

7.2AI Score

0.002EPSS

2023-10-25 06:17 PM
17
cve
cve

CVE-2023-45666

stb_image is a single file MIT licensed library for processing images. It may look like stbi__load_gif_main doesn’t give guarantees about the content of output value *delays upon failure. Although it sets *delays to zero at the beginning, it doesn’t do it in case the image is not recognized as...

9.8CVSS

9.2AI Score

0.001EPSS

2023-10-21 12:15 AM
60
cve
cve

CVE-2023-45664

stb_image is a single file MIT licensed library for processing images. A crafted image file can trigger stbi__load_gif_main_outofmem attempt to double-free the out variable. This happens in stbi__load_gif_main because when the layers * stride value is zero the behavior is implementation defined,...

8.8CVSS

9.1AI Score

0.001EPSS

2023-10-21 12:15 AM
45
cve
cve

CVE-2023-45667

stb_image is a single file MIT licensed library for processing images. If stbi__load_gif_main in stbi_load_gif_from_memory fails it returns a null pointer and may keep the z variable uninitialized. In case the caller also sets the flip vertically flag, it continues and calls...

7.5CVSS

8.3AI Score

0.001EPSS

2023-10-21 12:15 AM
18
cve
cve

CVE-2023-45661

stb_image is a single file MIT licensed library for processing images. A crafted image file may trigger out of bounds memcpy read in stbi__gif_load_next. This happens because two_back points to a memory address lower than the start of the buffer out. This issue may be used to leak internal memory.....

7.1CVSS

7.8AI Score

0.001EPSS

2023-10-21 12:15 AM
36
cve
cve

CVE-2023-45663

stb_image is a single file MIT licensed library for processing images. The stbi__getn function reads a specified number of bytes from context (typically a file) into the specified buffer. In case the file stream points to the end, it returns zero. There are two places where its return value is not....

5.5CVSS

7.1AI Score

0.001EPSS

2023-10-21 12:15 AM
23
cve
cve

CVE-2023-45662

stb_image is a single file MIT licensed library for processing images. When stbi_set_flip_vertically_on_load is set to TRUE and req_comp is set to a number that doesn’t match the real number of components per pixel, the library attempts to flip the image vertically. A crafted image file can...

8.1CVSS

8.5AI Score

0.001EPSS

2023-10-21 12:15 AM
27
cve
cve

CVE-2023-43898

Nothings stb 2.28 was discovered to contain a Null Pointer Dereference via the function stbi__convert_format. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted pic...

5.5CVSS

6.8AI Score

0.0004EPSS

2023-10-03 09:15 PM
81
cve
cve

CVE-2022-28042

stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function...

8.8CVSS

8.6AI Score

0.003EPSS

2022-04-15 02:15 PM
61
2
cve
cve

CVE-2022-28041

stb_image.h v2.27 was discovered to contain an integer overflow via the function stbi__jpeg_decode_block_prog_dc. This vulnerability allows attackers to cause a Denial of Service (DoS) via unspecified...

6.5CVSS

6.4AI Score

0.004EPSS

2022-04-15 02:15 PM
50
cve
cve

CVE-2021-42715

An issue was discovered in stb stb_image.h 1.33 through 2.27. The HDR loader parsed truncated end-of-file RLE scanlines as an infinite sequence of zero-length runs. An attacker could potentially have caused denial of service in applications using stb_image by submitting crafted HDR...

5.5CVSS

6AI Score

0.001EPSS

2021-10-21 07:15 PM
67
cve
cve

CVE-2021-42716

An issue was discovered in stb stb_image.h 2.27. The PNM loader incorrectly interpreted 16-bit PGM files as 8-bit when converting to RGBA, leading to a buffer overflow when later reinterpreting the result as a 16-bit buffer. An attacker could potentially have crashed a service using stb_image, or.....

7.1CVSS

7.1AI Score

0.002EPSS

2021-10-21 07:15 PM
64
cve
cve

CVE-2019-20056

stb_image.h (aka the stb image loader) 2.23, as used in libsixel and other products, has an assertion failure in...

6.5CVSS

6.5AI Score

0.001EPSS

2019-12-29 07:15 PM
56
cve
cve

CVE-2019-19777

stb_image.h (aka the stb image loader) 2.23, as used in libsixel and other products, has a heap-based buffer over-read in...

8.8CVSS

8.7AI Score

0.002EPSS

2019-12-13 02:15 AM
26
cve
cve

CVE-2018-16981

stb stb_image.h 2.19, as used in catimg, Emscripten, and other products, has a heap-based buffer overflow in the stbi__out_gif_code...

8.8CVSS

8.8AI Score

0.002EPSS

2018-09-12 11:29 PM
33